package com.edisoncgh.service.impl;

import com.edisoncgh.mapper.TagMapper;
import com.edisoncgh.pojo.Tag;
import com.edisoncgh.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TagServiceImpl implements TagService {
    @Autowired
    TagMapper tagMapper;

    @Override
    public Tag selectById(Integer tag_id) {
        return tagMapper.selectByPrimaryKey(tag_id);
    }
}
